<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:body>
	<ui:composition template="/view/protected/templates/master.xhtml">

		<ui:define name="divMain">
			<h:form id="bidssForm">
				<p:dataTable id="bidsTable" value="#{bidMB.allBids}" var="bid"
					emptyMessage="#{bundle.noRecords}" paginator="true" rows="10"
					paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
					rowsPerPageTemplate="5,10,15">

					<p:column>
						<f:facet name="header">
							<h:outputText value="#{bundle.edict_name}" />
						</f:facet>

						<h:outputText value="#{bid.idEdict.name}" />
					</p:column>
					<p:spacer width="10px" />
					<p:column>
						<f:facet name="header">
							<h:outputText value="#{bundle.bid_lance_value}" />
						</f:facet>

						<h:outputText value="#{bid.valueUnit}" />
					</p:column>
					<p:spacer width="10px" />
					<p:column>
						<f:facet name="header">
							<h:outputText value="#{bundle.user_name_Lance}" />
						</f:facet>

						<h:outputText value="#{bid.idUser.name}" />
					</p:column>

				</p:dataTable>

			</h:form>

		</ui:define>
	</ui:composition>
</h:body>
</html>